package com.sumainfor.pc.dev.fallback.Zfallback;


import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.dev.feign.Zfeign.ZpcMktFeign;
import org.springframework.stereotype.Component;

import java.util.Map;


/**
 * 调用市场部服务
 */
@Component
public class ZpcMarketFallback implements ZpcMktFeign {
    @Override
    public JsonResult selectHousingCondition(Map<String,Object> params, Pager pager){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getCommunityList(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult selectHousingHouInfoId(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHouInfoIdState(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

}
